if __name__ == '__main__':
    a = False
    b = True
    list1 = [a, b, a]
    list2 = list('123456')
    print(any(list1))
    print(all(list1))
    print(list2)
    output = "".join(list2)
    print(output)
    #
    # if b:
    #     print(1)
    abool = True
    if abool:
        print("abool is True")

    eval_str = 'if b:' \
               'print(1)'
    exec_str = eval_str
    # eval 适用于表达式
    # eval(eval_str)
    exec(exec_str)



    # exec()
